<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$webconfig[webcharset]}" />
<title>管理中心</title>
{templatecss css}
<!--{if !empty($webglobal[htmlhead])}-->{echo implode("\n", $webglobal[htmlhead])}<!--{/if}-->
<script type="text/javascript">
	var WEBURLPATH = "{WEBURLPATH}";
	var ADMINURLPATH = "{ADMIN_WEBURLPATH}";

	//确认后跳转
	function common_ConfirmGoUrl(strMsg, strUrl)
	{
		if (confirm(strMsg))
		{
			if (strUrl!='')
			{
				window.location = strUrl;
			}
			else
			{
				return true;
			}
		}
		else
		{
			return;
		}
	}

	//获取ID对象
	function common_GetId(strId)
	{
		if (document.getElementById)
		{
			return document.getElementById(strId);
		}
		else if (document.all)
		{
			return document.all[strId];
		}
		else if (document.layers)
		{
			return document.layers[strId];
		}
		else
		{
			return null;
		}
	}

	//选中复选框
	function common_CheckedCheckbox(strName, strValue)
	{
		var obj = document.getElementsByName(strName);
		var objlen = obj.length;
		var strValue = ',' + strValue + ',';
		for (var i=0; i<objlen; i++)
		{
			var tempValue = ',' + obj[i].value + ',';
			if (strValue==",ALL," || strValue.indexOf(tempValue)>-1)
			{
				obj[i].checked = true;
			}
			else
			{
				obj[i].checked = false;
			}
		}
	}

	//选中单选框
	function common_CheckedRadio(strName, strValue)
	{
		var obj = document.getElementsByName(strName);
		var objlen = obj.length;
		var tempi = -1;
		for (var i=0; i<objlen; i++)
		{
			obj[i].checked = false;
			if (tempi<0 && obj[i].value==strValue)
			{
				tempi = i;
			}
		}
		if (tempi>=0)
		{
			obj[tempi].checked = true;
		}
	}

	//选中单选下拉框
	function common_CheckedSelect(strName, strValue)
	{
		var obj = document.getElementsByName(strName)[0];
		var objlen = obj.options.length;
		var tempi = -1;
		for (var i=0; i<objlen; i++)
		{
			obj.options[i].selected = false;
			if (tempi<0 && obj.options[i].value==strValue)
			{
				tempi = i;
			}
		}
		if (tempi>=0)
		{
			obj.options[tempi].selected = true;
		}
	}

	function showanchor(obj) {
		if (!$(obj).hasClass('current')) {
			hideAllAnchor();
			var anchorid = $(obj).attr('href');
			$(obj).addClass('current');
			$('#'+anchorid).show();
		}
	}

	function hideAllAnchor() {
		$('#submenu li').each(function(){
			$(this).removeClass('current');
			var anchorid = $(this).attr('href');
			if ($('#'+anchorid).length > 0) {
				$('#'+anchorid).hide();
			}
		})
	}
</script>
<script type="text/javascript" src="{WEBURLPATH}/javascript/jquery-1.7.js"></script>
<script type="text/javascript" src="{WEBURLPATH}/javascript/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="{ADMIN_WEBURLPATH}/javascript/main.js"></script>
<script type="text/javascript" src="{ADMIN_WEBURLPATH}/javascript/ajax.js"></script>
</head>
<body>